#!/bin/bash
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
mkdir -p $DIR/build-eclipse/Debug
mkdir -p $DIR/build-eclipse/Release
cmake -E chdir $DIR/build-eclipse/Release cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../../source
cmake -E chdir $DIR/build-eclipse/Debug cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ../../source

